import { BrowserModule } from '@angular/platform-browser'; // TODO: Is this necessary?
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { MainPage, AboutPage, SettingsPage } from '../pages'
import { DeviceMotion } from '@ionic-native/device-motion';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MomentModule } from 'angular2-moment';

@NgModule({
  declarations: [AppComponent,
    MainPage,
    AboutPage,
    SettingsPage],
  imports: [
    BrowserModule, // TODO: Is this necessary?
    IonicModule.forRoot(AppComponent, {}),
    MomentModule,
    AppComponent
  ],
  bootstrap: [IonicApp],
  entryComponents: [],
  providers: [DeviceMotion],
})

export class AppModule { }
